#-*-coding:utf-8-*-
import unittest,requests,json
import com.note.simplefish.config.ReadConfig as readConfig
def getToken(mobile,password):
    baseUrl = readConfig.ReadConfig().get_http("baseUrl")+"user/get";
    r=requests.post(baseUrl,{"mobile":mobile,"password":password})
    content=r.json();
    print("\n***************getToken="+str(content))
    return content["data"];